<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title><fmt:message key="comum.title" /></title>
</head>
<body>
	<div>	
		<form:form modelAttribute="login" action="login" method="post">
		  	<fieldset>		
				<legend><fmt:message key="login.titulo" /></legend>
				<p>
					<form:label	for="login" path="login" cssErrorClass="error"><fmt:message key="login.login" /></form:label>
					<form:input path="login" /> <form:errors path="login" />			
				</p>
				<p>	
					<form:label for="senha" path="senha" cssErrorClass="error"><fmt:message key="login.senha" /></form:label>
					<form:password path="senha" /> <form:errors path="senha" />
				</p>
				<p>
					<input type="submit" value="<fmt:message key="login.entrar" />" />
				</p>
			</fieldset>
		</form:form>
	</div>	
</body>
</html>